|
WRITE BYTE TO FILE
This command will write a single byte to the specified file.
WRITE BYTE TO FILE Filename, Position, ByteValue
Filename
String
The file name stiring
Position
Integer
The position is specified in bytes from the beginning of the filedata
ByteValue
Integer
The value to write
This command does not return a value.
The position is specified in bytes from the beginning of the filedata. You can use this to modify a file at the byte level.
cls
write byte to file "data.dat,0,42"
print "value "+str(read byte to file "data.dat,0")
do
loop
end
FILE Commands Menu
Index
|